//
//  ViewControllerThree.m
//  TestNav
//
//  Created by 崔宝印 on 2018/2/28.
//  Copyright © 2018年 Koolearn. All rights reserved.
//

#import "ViewControllerThree.h"
#import "UIViewController+KooNavBar.h"
#import "UINavigationController+KooNavAlpha.h"

@interface ViewControllerThree ()<UITableViewDelegate,UITableViewDataSource>
@property (weak, nonatomic) IBOutlet UITableView *myTable;

@end

@implementation ViewControllerThree

- (void)viewDidLoad
{
    [self setTitle:@"透明导航界面"];
    
    self.kooNavBarTintColor = [UIColor lightGrayColor];
    self.kooNavTintColor = [UIColor redColor];
    self.kooNavTitileColor = [UIColor redColor];
    self.kooNavBarAlpha = 0;
}

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.navigationController.navigationBarHidden = NO;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return 12;
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
    return 60;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    UITableViewCell *cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"TableThree"];
    return cell;
}

@end
